package com.hyj.shop.project.login.mapper;

import com.hyj.shop.project.login.domain.Login;
import com.hyj.shop.project.user.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LoginMapper {
    public User login(Login login);
    public void register(User user);
    public User queryUser(@Param("userName") String userName);
}
